chatmail / chatmail/core

Do not store SDP offer/answer for calls forever

Open
#7,334 3 comments 4 reactions 1 assignee Assigned to @Copilot View on GitHub
Dominant language
Rust
Stars
929
Forks
143
Avg merge
1d 20h
Merged PRs (30d)
53

Description

Currently call SDP is stored in the message parameters. Once the call has ended or expired (missing call), SDP remains there. It should be removed eventually if it is not needed because it normally contains IP addresses of the users.

It is currently difficult to find unneeded SDPs because you cannot easily query parameters. One way to fix this is to create a new `calls` table for SDPs and msg_id references and store SDPs there, then cleanup it in housekeeping.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.