Muting of a long number should mute based on first 10 digits
Created by: tobykurien
Bug description
Most unsolicited SMS come from very long numbers, e.g. +2787085030004072
(real example). The actual phone number is (+27)870850300
where +27
is the country code, and the local version of the number would be 0870850300
(10 digits). The trailing bit 04072
is a tag used by the sender to identify which campaign a reply was in response to and hence this bit changes for each new message.
When selecting the "mute conversation" option, Silence should mute just the 10-digit number, thus excluding the tag, and hence muting all further messages from this spammer. Currently, it seems to mute based on the whole number, and hence very rarely stops spam (if ever). This can be a option in the settings: "Mute entire phone number [X]" with default on, so that it maintains current behaviour.