Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. Members not receiving emails from Watched category

Members not receiving emails from Watched category

Scheduled Pinned Locked Moved Solved Discourse
2 Posts 1 Posters 233 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mononym
    wrote on last edited by mononym
    #1

    Hello. A little call-out to the local Discourse sages.

    I run into an issue I can't solve. It is about bulk changing user preferences. In a nutshell, there was a change in the default notification settings for our community, and we want that change to propagate to all users. The change is to set a certain category as "watched" for all users and the effect would be that every user gets an email for each new post in that category.

    I changed the watched preference via the rails console: User.all.each do |user| CategoryUser.batch_set(user, :watching, [<id>]) end

    But the problem is that somehow not all users get an email when there's a new post. So these users have some combination of preferences which blocks the email to be sent.

    For a more full history of this issue, I had a now stalled conversation about it on meta.discourse: https://meta.discourse.org/t/members-not-receiving-emails-from-watched-category/314500/3

    Now, I just want to try my luck here; maybe somebody knows which gears to turn to make this work.

    Thank you !

    1 Reply Last reply
    2
    • M Offline
      M Offline
      mononym
      wrote on last edited by
      #2

      Just to close this topic. With some help of the discourse AI on ask.discourse.com, I could solve the problem. It was not a bug but an entanglement of site settings and user preferences due to the modifications made over time.
      Solution: https://meta.discourse.org/t/reset-default-categories-watching-setting/244930/8

      1 Reply Last reply
      2
      • M mononym marked this topic as a question on
      • M mononym has marked this topic as solved on
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search