ChatSecure-iOS icon indicating copy to clipboard operation
ChatSecure-iOS copied to clipboard

Push notification with body

Open PlayerOne7 opened this issue 4 years ago • 1 comments

Hello,

ChatSecure shows notifications with message body and sender's name. As far as I remember, this should not be and it's forbidden in the config Prosody by push_notification_with_body and push_notification_with_sender. Screenshot — https://imgur.com/a/hczSylc

Prosody 0.11.7 ChatSecure 5.0.2 (167) iOS 14.3

Prosody Config:

` admins = { "[email protected]" }

use_libevent = true

modules_enabled = { "roster"; "saslauth"; "tls"; "dialback"; "disco"; "carbons"; "pep"; "private"; "blocklist"; "vcard4"; "vcard_legacy"; "version"; "uptime"; "time"; "ping"; "mam"; "csi_simple"; "bosh"; "cloud_notify"; "smacks"; "http_upload_external"; }

push_notification_important_body = "You have new message!" push_notification_with_body = false push_notification_with_sender = false

consider_bosh_secure = false cross_domain_bosh = false

http_ports = { } http_interfaces = { } https_ports = { 5281 } https_interfaces = { "127.0.0.1" }

http_upload_external_base_url = "https://mydomain.com/upload.php/" http_upload_external_secret = "secret" http_upload_external_file_size_limit = 2147483648 http_upload_external_protocol = "v2"

smacks_enabled_s2s = true smacks_hibernation_time = 86400 smacks_max_unacked_stanzas = 0 smacks_max_ack_delay = 5 smacks_max_hibernated_sessions = 20 smacks_max_old_sessions = 20

c2s_ports = { 5222 }

modules_disabled = {

"s2s"; 

}

allow_registration = false

c2s_require_encryption = true

s2s_require_encryption = true

s2s_secure_auth = true

authentication = "internal_hashed"

archive_expires_after = "1w"

log = {

info = "/var/log/prosody/prosody.log"; 
error = "/var/log/prosody/prosody.err"; 

}

certificates = "/etc/prosody/certs"

ssl = { key = "/etc/prosody/certs/mydomain.com.key"; certificate = "/etc/prosody/certs/mydomain.com.crt"; dhparam = "/etc/prosody/certs/dhparam.pem"; ciphers = "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES256-SHA384"; protocol = "tlsv1_2+"; }

https_certificate = "/etc/prosody/certs/mydomain.com.crt"

pidfile = "/run/prosody/prosody.pid";

interfaces = { "*" }

VirtualHost "mydomain.com" certificate = "/etc/prosody/certs/mydomain.com.crt" `

PlayerOne7 avatar Jan 14 '21 19:01 PlayerOne7

Not to worry, notifications with body/sender are generated locally on the device.

chrisballinger avatar Jan 15 '21 05:01 chrisballinger