We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebe4e9b commit 2f75f56Copy full SHA for 2f75f56
lib/api/model/model.dart
@@ -831,7 +831,7 @@ enum MessageEditState {
831
/// The Zulip "resolved topics" feature is implemented by renaming the topic;
832
/// but for purposes of [Message.editState], we want to ignore such renames.
833
/// This method identifies topic moves that should be ignored in that context.
834
- static bool topicMoveWasResolveOrUnresolve(String topic, String prevTopic) {
+ static bool topicMoveWasResolveOrUnresolve(TopicName topic, TopicName prevTopic) {
835
if (topic.startsWith(_resolvedTopicPrefix)
836
&& topic.substring(_resolvedTopicPrefix.length) == prevTopic) {
837
return true;
0 commit comments