set_user_flag


Description:

[ Version ( since = "3.24" ) ]
public virtual bool set_user_flag (string name, bool state)

Change state of the flag named name.

Unlike user tags, user flags can only be set or unset, while the user tags can contain certain values.

If the this changed, the 'dirty' flag and the 'folder-flagged' flag are set automatically, unless the this is aborting notifications. There is also emitted folder's "changed" signal for this this, if necessary.

Parameters:

this

a MessageInfo

name

user flag name

state

state to set for the flag

Returns:

Whether the message info changed.