add: connect to socket by community
direct messages/groups connect by channel id, everything else should connect by channel with the "is_channel" header set to true
This commit is contained in:
parent
c1c8cdbfcd
commit
0304461389
20 changed files with 241 additions and 160 deletions
|
@ -93,7 +93,7 @@ impl Message {
|
|||
created: now,
|
||||
edited: now,
|
||||
content,
|
||||
context: MessageContext::default(),
|
||||
context: MessageContext,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue