File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -835,13 +835,13 @@ enum MessageEditState {
835835 /// but for purposes of [Message.editState] , we want to ignore such renames.
836836 /// This method identifies topic moves that should be ignored in that context.
837837 static bool topicMoveWasResolveOrUnresolve (TopicName topic, TopicName prevTopic) {
838- if (topic.startsWith (_resolvedTopicPrefix)
839- && topic.substring (_resolvedTopicPrefix.length) == prevTopic) {
838+ if (topic.apiName. startsWith (_resolvedTopicPrefix)
839+ && topic.apiName. substring (_resolvedTopicPrefix.length) == prevTopic.apiName ) {
840840 return true ;
841841 }
842842
843- if (prevTopic.startsWith (_resolvedTopicPrefix)
844- && prevTopic.substring (_resolvedTopicPrefix.length) == topic) {
843+ if (prevTopic.apiName. startsWith (_resolvedTopicPrefix)
844+ && prevTopic.apiName. substring (_resolvedTopicPrefix.length) == topic.apiName ) {
845845 return true ;
846846 }
847847
You can’t perform that action at this time.
0 commit comments