1
1
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:
Michael Vetter 2020-08-29 21:13:04 +02:00
parent fdc8f6ad18
commit 0e88f996f1

View File

@ -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);