mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Dont log last timestamp in sv_ev_room_msg()
It's now done in mucwin_incoming_msg() via win_changed_date_since_last_msg().
This commit is contained in:
parent
fdc8f6ad18
commit
0e88f996f1
@ -369,12 +369,6 @@ sv_ev_room_message(ProfMessage* message)
|
||||
}
|
||||
}
|
||||
|
||||
// save timestamp of last received muc message
|
||||
if (mucwin->last_msg_timestamp) {
|
||||
g_date_time_unref(mucwin->last_msg_timestamp);
|
||||
}
|
||||
mucwin->last_msg_timestamp = g_date_time_new_now_local();
|
||||
|
||||
if (prefs_do_room_notify(is_current, mucwin->roomjid, mynick, message->from_jid->resourcepart, message->plain, mention, triggers != NULL)) {
|
||||
Jid* jidp = jid_create(mucwin->roomjid);
|
||||
notify_room_message(message->from_jid->resourcepart, jidp->localpart, num, message->plain);
|
||||
|
Loading…
Reference in New Issue
Block a user