https://bugs.kde.org/show_bug.cgi?id=435409
--- Comment #10 from Laurent Montel <[email protected]> --- (In reply to Angel Docampo from comment #9) > Create Public Channels > Create Direct Messages > Create Private Channels > Create Personal Access Tokens > delete-own-message > Leave Channels > Leave Private Groups > Mention All > Mention Here > Preview Public Channel > start-discussion > start-discussion-other-user > View Public Channel > View Direct Messages > View History > View Outside Room > View Private Room bool RocketChatAccount::isMessageDeletable(const Message &message) const { if (!allowMessageDeletingEnabled()) { return false; } if (hasPermission(QStringLiteral("force-delete-message"))) { return true; } if (hasPermission(QStringLiteral("delete-message"))) { return true; } if (message.userId() != userId()) { return false; } if (ruqolaServerConfig()->blockDeletingMessageInMinutes() == 0) { // TODO verify it return true; } return (message.timeStamp() + ruqolaServerConfig()->blockDeletingMessageInMinutes() * 60 * 1000) > QDateTime::currentMSecsSinceEpoch(); } So your user doesn't have force-delete-message or delete-message permission, "message.userId() != userId()" can be different => it will return false So I don't understand why it's true for you. no idea how to debug it without access to server... Or perhaps adding debug as qDebug() << " message.userId() " << message.userId() << " userId() " << userId(); -- You are receiving this mail because: You are watching all bug changes.
