raphael
d2fe15d3ae
- message now contains a second string which is meant for unencrypted title information, which can be displayed without e2e encryption. - senders can now be deleted - the same sender / token connection is no longer added to the database
17 lines
274 B
Elixir
17 lines
274 B
Elixir
defmodule Bump.Senders do
|
|
alias Bump.Database
|
|
|
|
def firebase(sender, firebase) do
|
|
Database.addSender(sender, %{"firebase" => firebase})
|
|
end
|
|
|
|
def delete(sender) do
|
|
Database.deleteSender(sender)
|
|
end
|
|
|
|
def peek(sender) do
|
|
Database.peek(sender)
|
|
end
|
|
|
|
end
|