mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 10:46:22 +00:00
Added /otr theirfp with hardcoded fingerprint
This commit is contained in:
@@ -333,7 +333,7 @@ otr_key_loaded(void)
|
||||
}
|
||||
|
||||
char *
|
||||
otr_get_fingerprint(void)
|
||||
otr_get_my_fingerprint(void)
|
||||
{
|
||||
char fingerprint[45];
|
||||
otrl_privkey_fingerprint(user_state, fingerprint, jid, "xmpp");
|
||||
@@ -342,6 +342,13 @@ otr_get_fingerprint(void)
|
||||
return result;
|
||||
}
|
||||
|
||||
char *
|
||||
otr_get_their_fingerprint(char *recipient)
|
||||
{
|
||||
char *fingerprint = "1234 5678";
|
||||
return strdup(fingerprint);
|
||||
}
|
||||
|
||||
char *
|
||||
otr_encrypt_message(const char * const to, const char * const message)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user