mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 08:10:10 +00:00
Stop logging message contents in the database for privacy reasons. Please remove the 'content' column in the 'messages' table:
This commit is contained in:
parent
cae394b4e8
commit
ca662bd502
3 changed files with 18 additions and 9 deletions
|
|
@ -175,8 +175,7 @@ class Proxy:
|
|||
# Report webhook stats to Influx
|
||||
await self.stats.report_webhook(time.perf_counter() - time_before, True)
|
||||
|
||||
await db.add_message(conn, message["id"], message["channel_id"], member.id, original_message.author.id,
|
||||
text or "")
|
||||
await db.add_message(conn, message["id"], message["channel_id"], member.id, original_message.author.id)
|
||||
|
||||
try:
|
||||
await self.client.delete_message(original_message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue