agamez/yappari

Groups owner not shown

Closed this issue · 1 comments

When viewing group info, the owner is not shown, this prevent adding participants to groups I own.
I found the problem, here is the patch:

diff --git a/src/yappari-application/Whatsapp/connection.cpp b/src/yappari-application/Whatsapp/connection.cpp
index babc952..b387928 100644
--- a/src/yappari-application/Whatsapp/connection.cpp
+++ b/src/yappari-application/Whatsapp/connection.cpp
@@ -175,7 +175,7 @@ bool Connection::read()
                     {
                         QString childId = child.getAttributeValue("id");
                         QString subject = child.getAttributeValue("subject");
-                        QString author = child.getAttributeValue("creator");
+                        QString author = child.getAttributeValue("owner");
                         QString creation = child.getAttributeValue("creation");
                         QString subject_o = child.getAttributeValue("s_o");
                         QString subject_t = child.getAttributeValue("s_t");

Applied, thanks!