about summary refs log tree commit diff stats
path: root/tests/unittests/ui/stub_vcardwin.c
diff options
context:
space:
mode:
authorMarouane L <techmetx11@disroot.org>2022-09-06 17:29:07 +0100
committerMarouane L <techmetx11@disroot.org>2022-10-18 23:24:30 +0100
commitf934c5b59f2fe2c3c00a50135add4aec55ac4024 (patch)
tree730d135fb92cb15b68717da1f5248c8bc6525019 /tests/unittests/ui/stub_vcardwin.c
parentfc8455ba34fdb467cc2702e4e071e850eaaf9be7 (diff)
downloadprofani-tty-f934c5b59f2fe2c3c00a50135add4aec55ac4024.tar.gz
Add vCard support
Only nicknames, photos, birthdays, addresses, telephone numbers, emails,
JIDs, titles, roles, notes, and URLs are supported

Due to the synopsis array not having enough space, `/vcard photo
open-self` and `/vcard photo save-self` are not documented properly in
the synopsis section of the `/vcard` command, but they are documented in
the arguments section

Fixed memory leak in vcard autocomplete (thanks to debXwoody)
Diffstat (limited to 'tests/unittests/ui/stub_vcardwin.c')
-rw-r--r--tests/unittests/ui/stub_vcardwin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unittests/ui/stub_vcardwin.c b/tests/unittests/ui/stub_vcardwin.c
new file mode 100644
index 00000000..e73eb04b
--- /dev/null
+++ b/tests/unittests/ui/stub_vcardwin.c
@@ -0,0 +1,4 @@
+void
+vcardwin_update(void)
+{
+}