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 {
835
835
/// but for purposes of [Message.editState] , we want to ignore such renames.
836
836
/// This method identifies topic moves that should be ignored in that context.
837
837
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 ) {
840
840
return true ;
841
841
}
842
842
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 ) {
845
845
return true ;
846
846
}
847
847
You can’t perform that action at this time.
0 commit comments