Skip to content
Snippets Groups Projects

Update SetRole/SetUserTitle so that you have to be subscribed to get it, also...

Merged Howo requested to merge feature/role-only-if-subscribed into develop
Compare and Show latest version
21 files
+ 571
14
Compare changes
  • Side-by-side
  • Inline
Files
21
@@ -347,6 +347,12 @@ custom_json_operation("[\"mutePost\", {\"community\": \"hive-198723\", \"account
custom_json_operation("gtg" -> "[\"unsubscribe\", {\"community\": \"hive-103459\"}]")
custom_json_operation("good-karma" -> "[\"unsubscribe\", {\"community\": \"hive-103459\"}]")
delete_comment_operation( `blocktrades`, `elephant01`)
account_create_operation( `howo` )
account_create_operation( `notmember` )
account_create_operation( `ismember` )
account_create_operation( `notmembermuted` )
account_create_operation( `isoldmember` )
account_create_operation( `hive-199999` )
***block 4998014***
comment_operation( `hive-171487`, `alice`,`Second-after-member-post-hive1`)
comment_operation( `hive-157439`, `alice`,`Second-after-member-post-hive2`)
@@ -357,6 +363,17 @@ custom_json_operation("[\"unmutePost\", {\"community\": \"hive-198723\", \"accou
custom_json_operation("[\"unmutePost\", {\"community\": \"hive-171487\", \"account\": \"alice\", \"permlink\": \"First-after-member-post-hive1\", \"notes\": \"hive1 Unmute first post\"}]")
custom_json_operation("[\"unmutePost\", {\"community\": \"hive-157439\", \"account\": \"alice\", \"permlink\": \"First-after-member-post-hive2\", \"notes\": \"hive2 Unmute first post\"}]")
custom_json_operation("[\"unmutePost\", {\"community\": \"hive-198723\", \"account\": \"alice\", \"permlink\": \"First-after-member-post-hive3\", \"notes\": \"hive3 Unmute first post\"}]")
custom_json_operation("ismember" -> "[\"subscribe\", {\"community\": \"hive-199999\"}]")
custom_json_operation("isoldmember" -> "[\"subscribe\", {\"community\": \"hive-199999\"}]")
***block 5000010***
custom_json_operation("[\"mutePost\", {\"community\": \"hive-135485\", \"account\": \"blocktrades\", \"permlink\": \"elephant01\", \"notes\": \"Muting deleted post\"}]")
custom_json_operation("[\"mutePost\", {\"community\": \"hive-198723\", \"account\": \"agartha\", \"permlink\": \"regular-post\", \"notes\": \"Muting community post of different community\"}]")
custom_json_operation("[\"setRole\", {\"community\": \"hive-198723\", \"account\": \"alice\", \"role\": \"member\"}]")
custom_json_operation("[\"setUserTitle\", {\"community\": \"hive-199999\", \"account\": \"notmember\", \"title\": \"Not set\"}]")
custom_json_operation("[\"setUserTitle\", {\"community\": \"hive-199999\", \"account\": \"ismember\", \"title\": \"Is set\"}]")
custom_json_operation("[\"setRole\", {\"community\": \"hive-199999\", \"account\": \"ismember\", \"role\": \"mod\"}]")
custom_json_operation("[\"setRole\", {\"community\": \"hive-199999\", \"account\": \"notmember\", \"role\": \"mod\"}]")
custom_json_operation("[\"setRole\", {\"community\": \"hive-199999\", \"account\": \"notmembermuted\", \"role\": \"muted\"}]")
custom_json_operation("[\"setRole\", {\"community\": \"hive-199999\", \"account\": \"isoldmember\", \"role\": \"mod\"}]")
custom_json_operation("isoldmember" -> "[\"unsubscribe\", {\"community\": \"hive-199999\"}]")
custom_json_operation("[\"setRole\", {\"community\": \"hive-199999\", \"account\": \"isoldmember\", \"role\": \"member\"}]")
Loading