mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-11-26 09:56:20 -05:00
support sending audio attachments over lxmf and saving to database
This commit is contained in:
parent
3f4da4198c
commit
f5a13e2d1a
2 changed files with 37 additions and 2 deletions
|
|
@ -1,6 +1,14 @@
|
|||
from typing import List
|
||||
|
||||
|
||||
# helper class for passing around an lxmf audio field
|
||||
class LxmfAudioField:
|
||||
|
||||
def __init__(self, audio_mode: int, audio_bytes: bytes):
|
||||
self.audio_mode = audio_mode
|
||||
self.audio_bytes = audio_bytes
|
||||
|
||||
|
||||
# helper class for passing around an lxmf image field
|
||||
class LxmfImageField:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue