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