Push notifications contain message content
### Description
Push notifications are still including message content even though include_content is explicitly set to false in the Synapse configuration.
### Steps to reproduce
We have configured the following push notification settings on the server:
push:
enabled: true
include_content: false
group_unread_count_by_room: false
jitter_delay: 2s
However, the include_content setting does not seem to work as expected. Push notifications in Element X are still delivered with message content.
According to the documentation:
https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#push-1
On iPhone, notifications should only indicate that a message has been received and who it is from, without including the message content.
Outcome
What did you expect?
Push notifications should not include message content when include_content is set to false.
What happened instead?
Push notifications still include message content despite the configuration.
### Homeserver
matrix.org
### Synapse Version
{"server_version":"1.151.0"}
### Installation Method
Docker (matrixdotorg/synapse)
### Database
PostgreSQL 16
### Workers
I don't know
### Platform
synapse:
image: matrixdotorg/synapse:latest
container_name: matrix-synapse
restart: unless-stopped
ports:
- 127.0.0.1:8008:8008 # Client API (expose to reverse proxy)
volumes:
- ./synapse/data:/data
- ./synapse/config/homeserver.yaml:/data/homeserver.yaml:ro
environment:
- SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
- UID=0
- GID=0
networks:
- matrix
depends_on:
postgres:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8008/health"]
interval: 30s
timeout: 10s
retries: 3
### Configuration
push:
enabled: true
include_content: false
group_unread_count_by_room: false
jitter_delay: 2s
4 条评论