Commit c468147d authored by Manuel Cortez's avatar Manuel Cortez

Fixed issue with notifications during Socializer startup

parent c19fbf40
......@@ -7,6 +7,7 @@
### bugfixes
* Fixed an error that was making socializer unable to render correctly certain Links containing uppercase letters (such as yandex.disk shared links). Before, those links were giving 404 errors when pressed, now they should work normally. This error was present in wall posts, comments, topics and chat messages.
* Fixed an error related to notifications in Socializer. Before, the "online now" notification could break the Socializer interface, making it unable to load the chat in real time.
### Changes
......
......@@ -504,7 +504,7 @@ class Controller(object):
Native notifications are made with WX and don't have sound, while custom notifications have sound but are not displayed in the window.
"""
if type == "native":
self.window.notify(_("Socializer"), message)
wx.CallAfter(self.window.notify, _("Socializer"), message)
else:
if sound != "":
self.session.soundplayer.play(sound)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment