Explorar o código

implement accountId for DcEvent

cyberta %!s(int64=4) %!d(string=hai) anos
pai
achega
598b40663a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      DcCore/DcCore/DC/Wrapper.swift

+ 4 - 0
DcCore/DcCore/DC/Wrapper.swift

@@ -736,6 +736,10 @@ public class DcEvent {
         dc_event_unref(eventPointer)
     }
 
+    public var accountId: Int {
+        return Int(dc_event_get_account_id(eventPointer))
+    }
+
     public var id: Int32 {
         return Int32(dc_event_get_id(eventPointer))
     }