This patch adds a maybe_get_content method to NdbNote which returns an optional string instead of “*failed to decrypt content*” on DM decryption failure. This method will be used by the MutelistManager in future patches. Lighting-Address: fishcharlie@strike.me Signed-off-by: Charlie Fish <contact@charlie.fish> Reviewed-by: William Casarin <jb55@jb55.com> Link: 20240210163650.42884-2-contact@charlie.fish Signed-off-by: William Casarin <jb55@jb55.com>
15 KiB
15 KiB