Implement channel password handling
Review Request #107089 - Created Oct. 28, 2012 and submitted
| Information | |
|---|---|
| Rohan Garg | |
| ktp-auth-handler | |
| 288502 | |
| Reviewers | |
| telepathy | |
Implement password handling for channels that have a password interface
Opens password dialog when joining a password protected room. Can't make a password protected room, yet, so it's advised to use this in conjuction with pidgin to test.
Issues
- 4
- 0
- 0
- 4
| Description | From | Last Updated |
|---|---|---|
| rename-like-the-others |
|
|
| Don't do this. Instead foreach (Tp::ChannelPtr channels) { if (channel->hasInterface(...) { doStuff(); } } I don't fully understand when you ... |
|
|
| I don't see why we need to wait until the passwordOp is ready order to complete the methodInvocationContext. I /think/ ... |
|
|
| You don't use this. I would suggest removing it. and putting the warning in the if statement instead. |
|
-
CMakeLists.txt (Diff revision 1) -
rename-like-the-others
-
conferenceauth-observer.cpp (Diff revision 1) -
Don't do this. Instead foreach (Tp::ChannelPtr channels) { if (channel->hasInterface(...) { doStuff(); } } I don't fully understand when you get two channels at once, but I think it is possible. Otherwise it wouldn't be a list in the first place -
conferenceauth-observer.cpp (Diff revision 1) -
I don't see why we need to wait until the passwordOp is ready order to complete the methodInvocationContext. I /think/ this can be moved into the observeChannels which will make launching channels quicker. I may be wrong though.
Review request changed
Brilliant. That's very nice and tidy.
-
main.cpp (Diff revision 4) -
You don't use this. I would suggest removing it. and putting the warning in the if statement instead.
This review has been submitted with commit 0ecb0a62cfa580a399e3928f13b04edcc42a6cc3 by Rohan Garg to branch master.
