Skip to content

Commit c892a05

Browse files
committed
tests failing from import on legacy.py
1 parent a8eb5d0 commit c892a05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sogs/routes/legacy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from werkzeug.exceptions import HTTPException
33
from ..web import app
44
from .. import crypto, config, db, http, utils
5-
from ..omq import send_mule
5+
from ..omq import omq_global
66
from ..utils import jsonify_with_base64
77
from ..model.room import Room, get_accessible_rooms, get_deletions_deprecated
88
from ..model.user import User
@@ -321,7 +321,7 @@ def handle_legacy_delete_messages(ids=None):
321321
ids = room.delete_posts(ids, user)
322322

323323
if ids:
324-
send_mule("messages_deleted", ids)
324+
omq_global.send_mule("messages_deleted", ids)
325325

326326
return jsonify({'status_code': http.OK})
327327

0 commit comments

Comments
 (0)