Skip to content

Commit

Permalink
Merge pull request #1299 from zurichat/dev
Browse files Browse the repository at this point in the history
Fixed RTC structure for sidebar emitter
  • Loading branch information
Delight-Fela-Steve authored Oct 17, 2021
2 parents 2818257 + 10655cf commit 65c8519
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ def sidebar_emitter(
starred_rooms.append(room_profile)

side_bar = {
"event":"sidebar_update",
"plugin_id":"dm.zuri.chat",
"data":{
"name": "DM Plugin",
"description": "Sends messages between users",
"plugin_id": "dm.zuri.chat",
Expand All @@ -338,6 +341,7 @@ def sidebar_emitter(
"public_rooms": [],
"starred_rooms": starred_rooms,
"joined_rooms": rooms,
}
# List of rooms/collections created whenever a user starts a DM chat with another user
# This is what will be displayed by Zuri Main
}
Expand Down

0 comments on commit 65c8519

Please sign in to comment.