Showing the changes to libraries/networking/src/UserActivityLoggerScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -56,7 +56,7 @@ void UserActivityLoggerScriptingInterface::palAction(QString action, QString tar · 55 unmodified lines | ||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | void UserActivityLoggerScriptingInterface::palOpened(float secondsOpened) { |
| 59 | − doLogAction("pal_opened", { | |
| 59 | + doLogAction("pal_opened", { | |
| 60 | 60 | { "seconds_opened", secondsOpened } |
| 61 | 61 | }); |
| 62 | 62 | } |
| @@ -71,6 +71,14 @@ void UserActivityLoggerScriptingInterface::makeUserConnection(QString otherID, b · 8 unmodified lines | ||
| 71 | 71 | doLogAction("makeUserConnection", payload); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | +void UserActivityLoggerScriptingInterface::bubbleToggled(bool newValue) { | |
| 75 | + doLogAction(newValue ? "bubbleOn" : "bubbleOff"); | |
| 76 | +} | |
| 77 | + | |
| 78 | +void UserActivityLoggerScriptingInterface::bubbleActivated() { | |
| 79 | + doLogAction("bubbleActivated"); | |
| 80 | +} | |
| 81 | + | |
| 74 | 82 | void UserActivityLoggerScriptingInterface::logAction(QString action, QVariantMap details) { |
| 75 | 83 | doLogAction(action, QJsonObject::fromVariantMap(details)); |
| 76 | 84 | } |