Files
cproof/tests/unittests/omemo/stub_omemo.c
jabber.developer2 f9e184eda7
All checks were successful
CI Code / Check spelling (pull_request) Successful in 18s
CI Code / Check coding style (pull_request) Successful in 30s
CI Code / Linux (ubuntu) (pull_request) Successful in 4m51s
CI Code / Linux (debian) (pull_request) Successful in 6m59s
CI Code / Linux (arch) (pull_request) Successful in 10m12s
CI Code / Code Coverage (pull_request) Successful in 6m44s
revert: restore pre-upstream-merge baseline (tree of 3b673150b)
Roll the tree back to the pre-merge tip 3b673150b, undoing the upstream sync merge 72f4f186d (303 files) and the 13 post-merge commits layered on top of it.

Purpose: restore the last pre-sync baseline so the reported OMEMO/OTR encryption regressions can be reproduced against a known-good state and the upstream sync ruled in or out as the cause. Nothing is dropped from history; the merge and every post-merge commit remain reachable and can be cherry-picked back selectively.

Baseline:     3b673150b chore(chatlog): disable background message file logging (stage 1)

Undoes merge: 72f4f186d merge: sync upstream profanity-im/profanity
2026-06-29 12:17:01 +03:00

125 lines
1.6 KiB
C

#include <glib.h>
#include "config/account.h"
#include "ui/ui.h"
void
omemo_init(void)
{
}
char*
omemo_fingerprint_autocomplete(const char* const search_str, gboolean previous)
{
return NULL;
}
void
omemo_fingerprint_autocomplete_reset(void)
{
}
char*
omemo_format_fingerprint(const char* const fingerprint)
{
return NULL;
}
void
omemo_generate_crypto_materials(ProfAccount* account)
{
}
gboolean
omemo_automatic_start(const char* const jid)
{
return TRUE;
}
gboolean
omemo_is_trusted_identity(const char* const jid, const char* const fingerprint)
{
return TRUE;
}
GList*
omemo_known_device_identities(const char* const jid)
{
return NULL;
}
gboolean
omemo_loaded(void)
{
return TRUE;
}
void
omemo_on_connect(ProfAccount* account)
{
}
void
omemo_on_disconnect(void)
{
}
char*
omemo_on_message_send(ProfWin* win, const char* const message, gboolean request_receipt, gboolean muc)
{
return NULL;
}
char*
omemo_own_fingerprint(gboolean formatted)
{
return NULL;
}
void
omemo_start_muc_sessions(const char* const roomjid)
{
}
void
omemo_start_session(const char* const barejid)
{
}
void
omemo_trust(const char* const jid, const char* const fingerprint_formatted)
{
}
void
omemo_untrust(const char* const jid, const char* const fingerprint_formatted)
{
}
void
omemo_devicelist_publish(GList* device_list)
{
}
void
omemo_publish_crypto_materials(void)
{
}
void
omemo_start_sessions(void)
{
}
char*
omemo_encrypt_file(FILE* in, FILE* out, off_t file_size, int* gcry_res)
{
return NULL;
};
void omemo_free(void* a) {};
uint32_t
omemo_device_id()
{
return 123;
}
char*
omemo_qrcode_str()
{
return NULL;
}