diff --git a/src/chatlistmodel.cpp b/src/chatlistmodel.cpp index a8ab31a..f92aab9 100644 --- a/src/chatlistmodel.cpp +++ b/src/chatlistmodel.cpp @@ -42,7 +42,6 @@ namespace { const QString NOTIFICATION_SETTINGS("notification_settings"); const QString LAST_READ_INBOX_MESSAGE_ID("last_read_inbox_message_id"); const QString LAST_READ_OUTBOX_MESSAGE_ID("last_read_outbox_message_id"); - const QString TYPE_MAP("type"); const QString IS_CHANNEL("is_channel"); const QString _TYPE("@type"); @@ -186,7 +185,7 @@ QString ChatListModel::ChatData::senderMessageText() const bool ChatListModel::ChatData::isChannel() const { - return chatData.value(TYPE_MAP).toMap().value(IS_CHANNEL).toBool(); + return chatData.value(TYPE).toMap().value(IS_CHANNEL).toBool(); } bool ChatListModel::ChatData::isHidden() const diff --git a/translations/harbour-fernschreiber.ts b/translations/harbour-fernschreiber.ts index bbe39e5..4bf4172 100644 --- a/translations/harbour-fernschreiber.ts +++ b/translations/harbour-fernschreiber.ts @@ -337,22 +337,6 @@ sent a venue - - Register User - - - - Enter your First Name - - - - Enter your Last Name - - - - User Registration - - ImagePage @@ -418,6 +402,22 @@ Please enter your password: + + User Registration + + + + Enter your First Name + + + + Enter your Last Name + + + + Register User + + LocationPreview