libgaim/prpl.c

changeset 15311
f5cf28c6e665
parent 15212
2919bfea7c4a
child 20470
77693555855f
child 20472
6a6d2ef151e6
equal deleted inserted replaced
15310:dfd424f9d683 15311:f5cf28c6e665
114 if (login_time == 0) 114 if (login_time == 0)
115 login_time = time(NULL); 115 login_time = time(NULL);
116 116
117 presence = gaim_buddy_get_presence(buddy); 117 presence = gaim_buddy_get_presence(buddy);
118 118
119 gaim_presence_set_login_time(presence, login_time); 119 if (gaim_presence_get_login_time(presence) != login_time)
120 120 {
121 gaim_signal_emit(gaim_blist_get_handle(), "buddy-got-login-time", buddy); 121 gaim_presence_set_login_time(presence, login_time);
122
123 gaim_signal_emit(gaim_blist_get_handle(), "buddy-got-login-time", buddy);
124 }
122 } 125 }
123 126
124 void 127 void
125 gaim_prpl_got_user_status(GaimAccount *account, const char *name, 128 gaim_prpl_got_user_status(GaimAccount *account, const char *name,
126 const char *status_id, ...) 129 const char *status_id, ...)

mercurial