fix direct chat constants value to match bot config
This commit is contained in:
parent
704e3bf7d1
commit
7a4d1a386e
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
class BotMode {
|
||||
static const direct = "direct";
|
||||
static const directChat = "direct_chat";
|
||||
static const discussion = "discussion";
|
||||
static const custom = "custom";
|
||||
static const storyGame = "story_game";
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ extension RoomInformationRoomExtension on Room {
|
|||
);
|
||||
}
|
||||
|
||||
Future<bool> get _isBotDM async => botOptions?.mode == BotMode.direct;
|
||||
Future<bool> get _isBotDM async => botOptions?.mode == BotMode.directChat;
|
||||
|
||||
bool get _isLocked {
|
||||
if (isDirectChat) return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue