-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/110935/
-----------------------------------------------------------

Review request for Telepathy.


Description
-------

Pretty much like its Facebook brother, we need a special handler to make Google 
oauth work. Since at the moment we only support oauth if the account is created 
by mission-control-uoa (accounts-sso pluging) the class is coupled with 
KDE-Acounts logic.

With this fourth "AuthOperation" there is a piece of code that is copy pasted 4 
times:
uint status = qdbus_cast<uint>(props.value(QLatin1String("SASLStatus")));
QString error = qdbus_cast<QString>(props.value(QLatin1String("SASLError")));
QVariantMap errorDetails = 
qdbus_cast<QVariantMap>(props.value(QLatin1String("SASLErrorDetails")));
authop->onSASLStatusChanged(status, error, errorDetails);

What do you want to do with it? mind that authop is a different class on each 
case right now (we could make all of them inherit something).


Diffs
-----

  CMakeLists.txt 4011542 
  getcredentialsjob.cpp ef42b3c 
  sasl-auth-op.cpp 9e98739 
  x-telepathy-sso-google-operation.h PRE-CREATION 
  x-telepathy-sso-google-operation.cpp PRE-CREATION 

Diff: http://git.reviewboard.kde.org/r/110935/diff/


Testing
-------


Thanks,

Àlex Fiestas

_______________________________________________
KDE-Telepathy mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-telepathy

Reply via email to