You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow rejection of postings written in a particular alphabet.
The user configures in `sogs.ini` a list of alphabets to reject by
default:
`alphabet_filters = [ arabic, cyrillic, persian ]`
If there are rooms in which these alphabets should be allowed, a list of
room ids per alphabet may be specified for whitelisting.
`alphabet_whitelist_arabic = [ 8 ]`
`alphabet_whitelist_cyrillic = [ 5, 13 ]`
`alphabet_whitelist_persian = [ 18 ]`
A list of valid room ids can be obtained with the following SQL:
`$ sudo sqlite3 /var/lib/session-open-group-server/sogs.db 'SELECT * FROM rooms;'`
The implementation can easily be extended to more alphabets.
0 commit comments