Skip to content

Commit

Permalink
Current version of Psi+ is 1.5.1921
Browse files Browse the repository at this point in the history
It is based on:
* psi: 8402786e
* plugins: 595793f
* psimedia: 478567e
* resources: e32ef4b
  • Loading branch information
tehnick committed May 23, 2024
1 parent 15942e2 commit c055fae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/chatviewcommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ void ChatViewCommon::setLooks(QWidget *w)
bool ChatViewCommon::updateLastMsgTime(QDateTime t)
{
bool doInsert = t.date() != _lastMsgTime.date();
_lastMsgTime = t;
if (!_lastMsgTime.isValid() || t > _lastMsgTime) {
_lastMsgTime = t;
}
return doInsert;
}

Expand Down
5 changes: 5 additions & 0 deletions src/groupchatdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class GCMainDlg::Private : public QObject, public MCmdProviderIface {
QString mucName, discoMucName, discoMucDescription, vcardMucName;
QString password;
QMap<LanguageManager::LangId, QString> subjectMap;
QString lastTopic;
bool nonAnonymous; // got status code 100 ?
ActionList *actions;
IconAction *act_bookmark, *act_pastesend;
Expand Down Expand Up @@ -2119,6 +2120,10 @@ void GCMainDlg::message(const Message &_m, const PsiEvent::Ptr &e)
}

if (!topic.isNull()) {
if (d->lastTopic == topic) {
return; // ignore same topic
}
d->lastTopic = topic;
QString subjectTooltip = TextUtil::plain2rich(topic);
subjectTooltip = TextUtil::linkify(subjectTooltip);
if (options->getOption("options.ui.emoticons.use-emoticons").toBool()) {
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.1919 (2024-05-23, 91258ebc)
1.5.1921 (2024-05-23, 8402786e)

0 comments on commit c055fae

Please sign in to comment.