clean up and bug fixes

This commit is contained in:
nnduc
2026-11-07 15:29:40 +07:00
parent 978dd5b5da
commit 0d8107a0a7
374 changed files with 98 additions and 5593 deletions
+2 -1
View File
@@ -93,7 +93,8 @@ async def main():
# Alice opens a chat with Bob and sends a message
await alice.call("Chat", "ajaxGet", ["bob@localhost"])
await alice.recv_until(lambda m: m.get("func") == "Chat.setSpecificElements")
m = await alice.recv_until(lambda m: m.get("func") == "Chat.setSpecificElements" or (m.get("func") == "MovimTpl.fill" and m["p"][0] == "#chat_widget"))
assert m["func"] == "Chat.setSpecificElements", "the bubbles have to come before the discussion"
msgid = str(uuid.uuid4())
r = alice.ajax("Chat", "ajaxHttpDaemonSendMessage", [msgid, "bob@localhost", "Hello *Bob* 👋 https://movim.eu", False], daemon=True)
assert r.status_code == 200, r.status_code