Skip to content

mm-account: Fix matching chats without proper number

If the SMS is an IP SMS, it may not contain a valid number, and when we try to match such a chat it won't be valid either. In the case, we compare g_strcmp0 with NULL, which is always true.

So fix it by comparing the right variables

/cc @ @kop316 @Djhg2000

Since this is a serious bug, I shall be tagging a new beta release as soon as this is merged.

Merge request reports