fixed merge

This commit is contained in:
csoler 2025-12-05 17:09:39 +01:00
commit 296b612965
3 changed files with 15 additions and 17 deletions

View file

@ -242,8 +242,6 @@ void FriendsDialog::chatMessageReceived(const ChatMessage &msg)
if(!msg.chat_id.isBroadcast())
return;
if(ui.chatWidget->isActive())
{
QDateTime sendTime = DateTime::DateTimeFromTime_t(msg.sendTime);
QDateTime recvTime = DateTime::DateTimeFromTime_t(msg.recvTime);
QString message = QString::fromUtf8(msg.msg.c_str());
@ -258,7 +256,6 @@ void FriendsDialog::chatMessageReceived(const ChatMessage &msg)
QMetaObject::invokeMethod(this, "clearChatNotify", Qt::QueuedConnection);
}
}
}
void FriendsDialog::chatStatusReceived(const ChatId &chat_id, const QString &status_string)
{

View file

@ -240,6 +240,7 @@ void NewsFeed::handlePostedEvent(std::shared_ptr<const RsEvent> event)
switch(pe->mPostedEventCode)
{
case RsPostedEventCode::UPDATED_POSTED_GROUP:
case RsPostedEventCode::NEW_POSTED_GROUP:
addFeedItem( new PostedGroupItem(this, NEWSFEED_POSTEDNEWLIST, pe->mPostedGroupId, false, true));
break;