Opportunistic OTR
This commit is contained in:
parent
f4db3df364
commit
7eba87da16
|
@ -217,6 +217,9 @@ function add_user_xmpp {
|
|||
echo '' >> /home/$new_username/.config/profanity/profrc
|
||||
echo '[plugins]' >> /home/$new_username/.config/profanity/profrc
|
||||
echo 'load=prof_omemo_plugin.py;' >> /home/$new_username/.config/profanity/profrc
|
||||
echo '' >> /home/$new_username/.config/profanity/profrc
|
||||
echo '[otr]' >> /home/$new_username/.config/profanity/profrc
|
||||
echo 'policy=opportunistic' >> /home/$new_username/.config/profanity/profrc
|
||||
|
||||
chown -R $new_username:$new_username /home/$new_username/.local
|
||||
chown -R $new_username:$new_username /home/$new_username/.config
|
||||
|
@ -989,7 +992,7 @@ function install_xmpp_client {
|
|||
fi
|
||||
|
||||
# install the omemo plugin
|
||||
apt-get -yq install python-pip python-setuptools clang libffi-dev libssl-dev
|
||||
apt-get -yq install python-pip python-setuptools clang libffi-dev libssl-dev python-dev
|
||||
git_clone $PROFANITY_OMEMO_PLUGIN_REPO $INSTALL_DIR/profanity-omemo-plugin
|
||||
cd $INSTALL_DIR/profanity-omemo-plugin
|
||||
git checkout $PROFANITY_OMEMO_PLUGIN_COMMIT -b $PROFANITY_OMEMO_PLUGIN_COMMIT
|
||||
|
@ -1068,6 +1071,9 @@ function install_xmpp_client {
|
|||
echo '' >> /home/$MY_USERNAME/.config/profanity/profrc
|
||||
echo '[plugins]' >> /home/$MY_USERNAME/.config/profanity/profrc
|
||||
echo 'load=prof_omemo_plugin.py;' >> /home/$MY_USERNAME/.config/profanity/profrc
|
||||
echo '' >> /home/$MY_USERNAME/.config/profanity/profrc
|
||||
echo '[otr]' >> /home/$MY_USERNAME/.config/profanity/profrc
|
||||
echo 'policy=opportunistic' >> /home/$MY_USERNAME/.config/profanity/profrc
|
||||
|
||||
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.local
|
||||
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.config
|
||||
|
|
Loading…
Reference in New Issue