Source code for matridge.config

[docs] MAX_HISTORY_FETCH = 100
[docs] MAX_HISTORY_FETCH__DOC = ( "Number of events to fetch to back-fill MUC history before slidge starts up." )
[docs] MAX_PARTICIPANTS_FETCH = 10
[docs] MAX_PARTICIPANTS_FETCH__DOC = ( "Number of participants to fetch when joining a group. " "Higher values will make joining slower, and participants will appear when " "they speak or if they spoke in the back-filled events. " "Participants with power levels > 50 (ie, admins) will be fetched." )
[docs] NIO_SILENT = True
[docs] NIO_SILENT__DOC = ( "Set this to False to respect the global log level from the matrix lib. " "It's REALLY verbose, so the default is to use WARNING." )
[docs] PARSE_MESSAGE_STYLING = True
[docs] PARSE_MESSAGE_STYLING__DOC = """ Convert Message Styling (XEP-0393) message bodies to Matrix custom HTML. Supported markup: _underline_ *bold* ~strikethrough~ `code span` ```code block``` >quote ||spoiler \\_escape style_ """