Example #1
0
File: Otr.cs Project: esptl/LibOtr
 int IUIOperationProvider.OnInjectMessage(OtrContact pContact, string pMessage)
 {
     try
     {
         InjectMessage(pContact, pMessage);
     }
     catch (Exception)
     {
         return 0;
     }
     return 1;
 }
Example #2
0
File: Otr.cs Project: esptl/LibOtr
 int IUIOperationProvider.OnLoggedIn(OtrContact pContact)
 {
     return IsLoggedIn(pContact) ? 1 : 0;
 }
Example #3
0
File: Otr.cs Project: esptl/LibOtr
 public OtrMessage ReceiveMessage(OtrContact pContact, string pMessage)
 {
     return _manager.ReceiveMessage(pContact, pMessage);
 }
Example #4
0
File: Otr.cs Project: esptl/LibOtr
 public OtrConnection FindConnection(OtrContact pContact)
 {
     return _manager.FindConnection(pContact);
 }
Example #5
0
File: Otr.cs Project: esptl/LibOtr
 public OtrMessage SendMessage(OtrContact pContact, string pMessage)
 {
     return _manager.SendMessage(pContact, pMessage);
 }
Example #6
0
File: Otr.cs Project: esptl/LibOtr
        void IUIOperationProvider.OnNewFingerPrint(OtrContact pContact, OtrFingerprint pFingerprint)
        {
            pFingerprint.Trust = OtrFingerprintTrust.Untrusted;
            _manager.WriteFingerprints();

        }