mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 05:56:09 +00:00
Fix
This commit is contained in:
parent
36725d9d7e
commit
e25c527f0e
@ -726,7 +726,7 @@ export class DMChannel extends BaseChannel implements Model {
|
||||
this.group = data.recipents.map(r => new User(this.session, r));
|
||||
}
|
||||
|
||||
this.type = ChannelTypes.GroupDm | ChannelTypes.GroupDm;
|
||||
this.type = data.type as ChannelTypes.GroupDm | ChannelTypes.GroupDm;
|
||||
|
||||
if (data.last_message_id) {
|
||||
this.lastMessageId = data.last_message_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user