no need to escape strings that go to notification daemon
This commit is contained in:
parent
19e594f919
commit
de20191e72
|
@ -315,9 +315,6 @@ def popup(event_type, jid, account, msg_type = '', path_to_image = None,
|
||||||
'''Notifies a user of an event. It first tries to a valid implementation of
|
'''Notifies a user of an event. It first tries to a valid implementation of
|
||||||
the Desktop Notification Specification. If that fails, then we fall back to
|
the Desktop Notification Specification. If that fails, then we fall back to
|
||||||
the older style PopupNotificationWindow method.'''
|
the older style PopupNotificationWindow method.'''
|
||||||
text = gobject.markup_escape_text(text)
|
|
||||||
title = gobject.markup_escape_text(title)
|
|
||||||
|
|
||||||
if gajim.config.get('use_notif_daemon') and dbus_support.supported:
|
if gajim.config.get('use_notif_daemon') and dbus_support.supported:
|
||||||
try:
|
try:
|
||||||
DesktopNotification(event_type, jid, account, msg_type,
|
DesktopNotification(event_type, jid, account, msg_type,
|
||||||
|
|
Loading…
Reference in New Issue