get_feature_for_message


Description:

public unowned SessionFeature? get_feature_for_message (Type feature_type, Message msg)

Gets the feature in this of type feature_type, provided that it is not disabled for msg .

Parameters:

this

a Session

feature_type

the Type of the feature to get

msg

a Message

Returns:

a SessionFeature. The feature is owned by this.