Merge branch 'master' of cybre.tech:chr/matrix-appservice-minecraft
This commit is contained in:
commit
2361252b37
|
@ -140,6 +140,7 @@ class Appservice:
|
|||
"PUT",
|
||||
"/presence/" + user_id + "/status",
|
||||
content={"presence":"online"},
|
||||
query_params={"user_id": user_id},
|
||||
headers={"Content-Type": "application/json"},
|
||||
)
|
||||
elif msg["action"] == "left":
|
||||
|
@ -148,6 +149,7 @@ class Appservice:
|
|||
"PUT",
|
||||
"/presence/" + user_id + "/status",
|
||||
content={"presence":"offline"},
|
||||
query_params={"user_id": user_id},
|
||||
headers={"Content-Type": "application/json"},
|
||||
)
|
||||
if "msg" in msg:
|
||||
|
|
Loading…
Reference in New Issue