Browse Source

adding references

AllGroupDevicesShowHandshake
Volker Birk 6 years ago
parent
commit
1288b73f6d
2 changed files with 6 additions and 4 deletions
  1. +2
    -3
      src/message.hh
  2. +4
    -1
      src/pEpmodule.cc

+ 2
- 3
src/message.hh View File

@ -100,9 +100,8 @@ namespace pEp {
list in_reply_to() { return strlist_attr(_msg->in_reply_to); }
void in_reply_to(list value) { strlist_attr(_msg->in_reply_to, value); }
struct _message *refering_msg_ref;
stringlist_t *references;
struct _message_ref_list *refered_by;
list references() { return strlist_attr(_msg->references); }
void references(list value) { strlist_attr(_msg->references, value); }
stringlist_t *keywords;
char *comments;


+ 4
- 1
src/pEpmodule.cc View File

@ -121,6 +121,9 @@ BOOST_PYTHON_MODULE(pEp)
"list of identities where message will be replied to")
.add_property("in_reply_to", (list(Message::*)()) &Message::in_reply_to,
(void(Message::*)(list)) &Message::in_reply_to,
"in_reply_to list");
"in_reply_to list")
.add_property("references", (list(Message::*)()) &Message::references,
(void(Message::*)(list)) &Message::references,
"message references");
}

Loading…
Cancel
Save