Improve xmpp filter branch

Allow partial matches on branch name
Is there a reason for this dash here? Sorry to be pedantic but I found it confusing.