psi-plus / main

Main repository with patches and required resources
https://psi-plus.com/
GNU Lesser General Public License v2.1
68 stars 20 forks source link

Spam bot messages in triplicate #675

Closed Neustradamus closed 7 years ago

Neustradamus commented 7 years ago

When a spam bot message arrives, it is in triplicate:

In history, I have: |YYYY-MM-DDTHH:MM:SS|1|from|N---|... |YYYY-MM-DDTHH:MM:SS|5|from|N---|... |YYYY-MM-DDTHH:MM:SS|0|from|N---|...

"..." the spam message.

XML Console (UsernameX is different for each message but same JID):

<message type="headline" to="user@example.tld" from="spammer1@example.tld/Ressource">
<nick xmlns="http://jabber.org/protocol/nick">usernameX</nick>
<body>spam message</body>
</message>
<message to="user@example.tld" from="spammer1@example.tld/Ressource">
<nick xmlns="http://jabber.org/protocol/nick">usernameX</nick>
<body>spam message</body>
</message>
<message type="headline" to="user@example.tld" from="spammer2@example.tld/Ressource">
<nick xmlns="http://jabber.org/protocol/nick">usernameX</nick>
<body>spam message</body>
</message>
<message to="user@example.tld" from="spammer2@example.tld/Ressource">
<nick xmlns="http://jabber.org/protocol/nick">usernameX</nick>
<body>spam message</body>
</message>
Ri0n commented 7 years ago

and what do you want to do with that?

Vitozz commented 7 years ago

It's not a bug. Spambot sends you three kind of messages to avoid spamblocking.

Neustradamus commented 7 years ago

Can you add options for not received messages from and remove options to send :

message type="chat" message type="headline" message

wadealer commented 7 years ago

No we cann't

Ri0n commented 7 years ago

@Neustradamus , if you have some feature in mind or noticed a bug please discuss this in our conference. Sometimes It's really hard to understand from your reports what you want and what benefits it brings to everyone else. Thanks.