change deprecation message

This commit is contained in:
LordMZTE 2021-04-10 20:20:59 +02:00
parent 7a736062d9
commit bbd02bfbae

View file

@ -347,7 +347,7 @@ func (portal *Portal) getMessageIntent(user *User, info whatsapp.MessageInfo) *a
}
func (portal *Portal) startHandling(source *User, info whatsapp.MessageInfo) *appservice.IntentAPI {
portal.bridge.Relaybot.sendBridgeNotice("WhatsApp ist deprecated! Matrix benutzen!")
portal.bridge.Relaybot.sendBridgeNotice("WhatsApp ist deprecated! Matrix raum unter #jens:tilera.xyz benutzen!")
// TODO these should all be trace logs
if portal.lastMessageTs > info.Timestamp+1 {
portal.log.Debugfln("Not handling %s: message is older (%d) than last bridge message (%d)", info.Id, info.Timestamp, portal.lastMessageTs)