mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
9b4972e045
commit
0a590336b1
|
@ -42,6 +42,7 @@ Group::Group(int groupId, const QString& name, bool isAvGroupchat, const QString
|
||||||
// on naming is appropriate
|
// on naming is appropriate
|
||||||
hasNewMessages = 0;
|
hasNewMessages = 0;
|
||||||
userWasMentioned = 0;
|
userWasMentioned = 0;
|
||||||
|
regeneratePeerList();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Group::updatePeer(int peerId, QString name)
|
void Group::updatePeer(int peerId, QString name)
|
||||||
|
|
|
@ -121,6 +121,7 @@ GroupChatForm::GroupChatForm(Group* chatGroup)
|
||||||
connect(group, &Group::titleChanged, this, &GroupChatForm::onTitleChanged);
|
connect(group, &Group::titleChanged, this, &GroupChatForm::onTitleChanged);
|
||||||
connect(&Settings::getInstance(), &Settings::blackListChanged, this, &GroupChatForm::updateUserNames);
|
connect(&Settings::getInstance(), &Settings::blackListChanged, this, &GroupChatForm::updateUserNames);
|
||||||
|
|
||||||
|
onUserListChanged();
|
||||||
setAcceptDrops(true);
|
setAcceptDrops(true);
|
||||||
Translator::registerHandler(std::bind(&GroupChatForm::retranslateUi, this), this);
|
Translator::registerHandler(std::bind(&GroupChatForm::retranslateUi, this), this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user