telepathyClient: Update notification time from message
As the telepathy integration picks up existing channels on startup, ChatNotifications are another case where the real time the message was received may be before the time it is picked up by the shell. While this is less of an annoyance than restored GNotifications, as it generally only affects restarts from the run dialog, it's an easy fix now ... https://bugzilla.gnome.org/show_bug.cgi?id=775799
This commit is contained in:
parent
4e491b6f75
commit
c6f22826cf
@ -670,6 +670,8 @@ const ChatNotification = new Lang.Class({
|
||||
styles: styles,
|
||||
timestamp: message.timestamp,
|
||||
noTimestamp: noTimestamp });
|
||||
this.update(this.title, this.bannerBodyText,
|
||||
{ datetime: GLib.DateTime.new_from_unix_local (message.timestamp) });
|
||||
},
|
||||
|
||||
_filterMessages: function() {
|
||||
|
Loading…
Reference in New Issue
Block a user